<div class="contents">
    <ol class="breadcrumb">
        <li><a href="#/index/panel">首页</a></li>
        <li class="active">一元吃早餐商家店铺信息</li>
    </ol>
    <form class="form-inline search-box" role="form" ng-submit="queryList()" novalidate>

        <div class="form-group">
            <input type="text" class="form-control" placeholder="店家手机" maxlength="11" ng-model="shopPhone" style="width:140px;">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" placeholder="店铺名" maxlength="50" ng-model="shopName" style="width:140px;">
        </div>

        <button type="submit" class="btn btn-primary">查询</button>

        <!--<button type="button" class="btn btn-info" style="float: right; margin-right: 10px" ng-click="addOrEditShopInfo()">新增</button>-->
    </form>
    <table class="table table-striped table-hover">
        <thead>
        <tr>
            <th width="50">店家来源编码</th>
            <th width="110">店铺名</th>
            <th width="60">店家手机</th>
            <th width="60">扫码次数</th>
            <th width="60">新注册数</th>
            <th width="60">答题用户数</th>
            <th width="60">答题通过数</th>
            <th width="60">参加活动数</th>
            <th width="30">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="fa in list">
            <td>{{fa.shopSouceCode}}</td>
            <td>{{fa.shopName}}</td>
            <td>{{fa.shopPhone}}</td>
            <td>{{fa.cjUsernum}}</td>
            <td>{{fa.registNum}}</td>
            <td>{{fa.dtUsernum}}</td>
            <td>{{fa.dtPassUsernum}}</td>
            <td>{{fa.allNum}}</td>
            <td>
                <a ng-click="editInformation(fa)">编辑</a>
                <!--<a ng-click="deleteInformation(fa.id)">删除</a>-->
            </td>
        </tr>
        </tbody>
    </table>

    <div style="display: inline-block" class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
    <div style="display: inline-block;vertical-align: text-bottom;margin: 15px;color: #428bca;font-size: 14px" class="form-inline" ng-show="list.length > 0">
        <label style="vertical-align: sub;font-weight: 400">每页显示：</label><input type="number" class="form-control" ng-model="setPageSize" max="1000"><label style="vertical-align: baseline;font-weight: 400" >&nbsp;&nbsp;条（最大1000条）<button type="button" class="btn btn-primary" ng-click="changePageSize()" style="vertical-align: sub">确定</button></label>
    </div>
</div>

<div class="layer-box" ng-show="showAddShopInfoWin">
    <div class="layer-bg"></div>
    <div class="layer-con layer-big" style="padding:10px 20px;">
        <span class="icons-close" title="关闭" ng-click="showAddShopInfoWin = false;">X</span>
        <div class="layer-title">理财师认证</div>
        <div class="con-wrap">
            <form class="form-horizontal" role="form" name="shopInfo" ng-submit="shopInfoSave()" novalidate>
                <!--<div class="form-group">-->
                    <!--<label for="shopSouceCode" class="col-sm-3 control-label">来源编号</label>-->
                    <!--<div class="col-sm-8">-->
                        <!--<input type="text" class="form-control" id="shopSouceCode" maxlength="8" placeholder="店家来源编号" name="shopSouceCode" ng-model="item.shopSouceCode" >-->
                    <!--</div>-->
                <!--</div>-->
                <div class="form-group">
                    <label for="shopName" class="col-sm-3 control-label">商店名称</label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control" id="shopName" maxlength="50" placeholder="商店名称" name="shopName" ng-model="item.shopName" >
                    </div>
                </div>
                <!--<div class="form-group">-->
                    <!--<label for="shopPhone" class="col-sm-3 control-label">店家手机</label>-->
                    <!--<div class="col-sm-8">-->
                        <!--<input type="text" class="form-control" id="shopPhone" maxlength="11" placeholder="店家手机" name="shopPhone" ng-model="item.shopPhone" >-->
                    <!--</div>-->
                <!--</div>-->
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-5">
                        <button type="submit" class="btn btn-default">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

